<%--
  Created by IntelliJ IDEA.
  author: Jsonor
  date: 2018/3/20 15:49
  description: Description
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
  <title>城市数据信息</title>
</head>
<body>
<h1 align="center" style="font-family: 楷体" > 城市数据信息</h1>
<table border="1" cellspacing="0"  align="center">
  <tr >
    <td>Code</td>
    <td>Name</td>
    <td>Region</td>
    <td>SurfaceArea</td>
    <td>IndepYear</td>
    <td>Population</td>
    <td>LifeExpectancy</td>
    <td>GNP</td>
    <td>HeadOfState</td>
    <td>Capital</td>
    <td>Code2</td>
  </tr>

  <c:forEach items="${countryList}" var="cl">
  <tr>
    <td>${cl.code}</td>
    <td>${cl.name}</td>
    <td>${cl.region}</td>
    <td>${cl.surfaceArea}</td>
    <td>${cl.indepYear}</td>
    <td>${cl.population}</td>
    <td>${cl.lifeExpectancy}</td>
    <td>${cl.gnp}</td>
    <td>${cl.headOfState}</td>
    <td>${cl.capital}</td>
    <td>${cl.code2}</td>
  </tr>
  </c:forEach>

</table>
</body>
</html>
